package blog.service.impl;

import blog.entity.Option;
import blog.mapper.OptionMapper;
import blog.service.OptionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class OptionServiceImpl implements OptionService {
    @Resource
    private OptionMapper optionMapper;
    @Override
    public Option getOption() {
        return optionMapper.getOption();
    }

    @Override
    public void updateOption(Option option) {
        optionMapper.updateOption(option);
    }
}
